package com.qixin.modules.ea.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @Description: 差旅费报销单
 * @Author: qixin-boot
 * @Date:   2021-07-06
 * @Version: V1.0
 */
@ApiModel(value="ea_travel对象", description="差旅费报销单")
@Data
@TableName("ea_travel")
public class EaTravel implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private java.lang.String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private java.util.Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private java.lang.String updateBy;
    /**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private java.util.Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private java.lang.String sysOrgCode;
    private transient String sysOrgCodeName;
	/**单据编号*/
	@Excel(name = "单据编号", width = 15)
    @ApiModelProperty(value = "单据编号")
    private java.lang.String billNo;
	/**单据日期*/
	@Excel(name = "单据日期", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "单据日期")
    private java.util.Date billDate;
	/**单据状态*/
	@Excel(name = "单据状态", width = 15, dicCode = "BillState")
    @Dict(dicCode = "BillState")
    @ApiModelProperty(value = "单据状态")
    private java.lang.Integer state;
    private transient String stateName;
	/**财务组织*/
	@Excel(name = "财务组织", width = 15)
    @ApiModelProperty(value = "财务组织")
    private java.lang.String financeDeptId;
    private transient String financeDeptIdName;
	/**币种*/
	@Excel(name = "币种", width = 15, dicCode = "currency")
    @Dict(dicCode = "currency")
    @ApiModelProperty(value = "币种")
    private java.lang.Integer currencyId;
	/**报销人*/
	@Excel(name = "报销人", width = 15)
    @ApiModelProperty(value = "报销人")
    private java.lang.String personId;
    private transient String personIdName;
	/**报销金额*/
	@Excel(name = "报销金额", width = 15)
    @ApiModelProperty(value = "报销金额")
    private java.math.BigDecimal eaAmt;
	/**报销人单位*/
	@Excel(name = "报销人单位", width = 15)
    @ApiModelProperty(value = "报销人单位")
    private java.lang.String companyCodeId;
    private transient String companyCodeIdName;
	/**报销人部门*/
	@Excel(name = "报销人部门", width = 15)
    @ApiModelProperty(value = "报销人部门")
    private java.lang.String deptId;
    private transient String deptIdName;
	/**收款人*/
	@Excel(name = "收款人", width = 15)
    @ApiModelProperty(value = "收款人")
    private java.lang.String recPersonId;
    private transient String recPersonIdName;
	/**实际付款金额*/
	@Excel(name = "实际付款金额", width = 15)
    @ApiModelProperty(value = "实际付款金额")
    private java.math.BigDecimal actualPayAmt;
	/**个人银行账户*/
	@Excel(name = "个人银行账户", width = 15)
    @ApiModelProperty(value = "个人银行账户")
    private java.lang.String perBankCode;
	/**个人银行户主*/
	@Excel(name = "个人银行户主", width = 15)
    @ApiModelProperty(value = "个人银行户主")
    private java.lang.String perBankName;
	/**个人开户银行*/
	@Excel(name = "个人开户银行", width = 15)
    @ApiModelProperty(value = "个人开户银行")
    private java.lang.String bankRecordId;
	/**费用承担单位*/
	@Excel(name = "费用承担单位", width = 15)
    @ApiModelProperty(value = "费用承担单位")
    private java.lang.String costCompCodeId;
    private transient String costCompCodeIdName;
	/**费用承担部门*/
	@Excel(name = "费用承担部门", width = 15)
    @ApiModelProperty(value = "费用承担部门")
    private java.lang.String costDept;
    /**费用承担部门名称*/
    @Excel(name = "费用承担部门名称", width = 15)
    @ApiModelProperty(value = "费用承担部门名称")
    private java.lang.String costDeptName;
    private transient String paymentDeptIdName;
	/**支付方式*/
	@Excel(name = "支付方式", width = 15, dicCode = "payment_method")
    @Dict(dicCode = "payment_method")
    @ApiModelProperty(value = "支付方式")
    private java.lang.Integer paymentMethod;
    private transient String paymentMethodName;
	/**项目*/
	@Excel(name = "项目", width = 15)
    @ApiModelProperty(value = "项目")
    private java.lang.String projectId;
	/**费用项目*/
	@Excel(name = "费用项目", width = 15)
    @ApiModelProperty(value = "费用项目")
    private java.lang.String indexId;
    private java.lang.String indexIdName;
	/**是否分摊*/
	@Excel(name = "是否分摊", width = 15)
    @ApiModelProperty(value = "是否分摊")
    private Boolean isShare;
	/**是否多人报销*/
	@Excel(name = "是否多人报销", width = 15)
    @ApiModelProperty(value = "是否多人报销")
    private Boolean isManyBx;
	/**附件张数*/
	@Excel(name = "附件张数", width = 15)
    @ApiModelProperty(value = "附件张数")
    private java.lang.String atNum;
	/**目的地*/
	@Excel(name = "目的地", width = 15)
    @ApiModelProperty(value = "目的地")
    private java.lang.String regionId;
    private transient String regionIdName;
	/**事由*/
	@Excel(name = "事由", width = 15)
    @ApiModelProperty(value = "事由")
    private java.lang.String cause;
	/**柔性规则信息*/
	@Excel(name = "柔性规则信息", width = 15)
    @ApiModelProperty(value = "柔性规则信息")
    private java.lang.String standardMsg;
	/**来源报销单据编号*/
	@Excel(name = "来源报销单据编号", width = 15)
    @ApiModelProperty(value = "来源报销单据编号")
    private java.lang.String srcBxBillCode;
	/**来源报销单据主键*/
	@Excel(name = "来源报销单据主键", width = 15)
    @ApiModelProperty(value = "来源报销单据主键")
    private java.lang.String srcBxBillPk;
	/**来源报销单据状态*/
	@Excel(name = "来源报销单据状态", width = 15)
    @ApiModelProperty(value = "来源报销单据状态")
    private java.lang.String srcBxBillStatus;
	/**附件*/
	@Excel(name = "附件", width = 500)
    @ApiModelProperty(value = "附件")
    private java.lang.String attch;
	/**图片*/
	@Excel(name = "图片", width = 500)
    @ApiModelProperty(value = "图片")
    private java.lang.String picture;

	//审批人id
    private transient String auditManId;
    //审批人
    private transient String auditMan;
    //提交类型:保存:add,提交:send
    private transient String saveType;
    //开始时间
    private transient String startDate;
    //结束时间
    private transient String endDate;

    @ApiModelProperty(value = "更新时间-用于校验时效性")
    private transient String time;

    /**出差类型*/
    @Excel(name = "出差类型", width = 15)
    @ApiModelProperty(value = "出差类型")
    private java.lang.Integer type;
    private transient java.lang.String typeName;

    /**人员任职信息主键*/
    @Excel(name = "人员任职信息主键", width = 15)
    @ApiModelProperty(value = "人员任职信息主键")
    private java.lang.String psnjobId;

    /**流程实例id*/
    @Excel(name = "流程实例id", width = 15)
    @ApiModelProperty(value = "流程实例id")
    private java.lang.String procInstId;
}
